package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@SpringBootApplication
@RestController
public class DemoApplication {


	@RequestMapping({"/"})
	public String index() {
//test额
		return "HELLO";
	}

	public static void main(String[] args) {
			new SpringApplicationBuilder(DemoApplication.class).run(args);
		}

}
